package com.hxzy.controller.admin.employee.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 功能描述
 *
 * @author tonneyyy
 */
@ApiModel(value = "修改员工信息及密码")
@Getter
@Setter
public class EmployeeEditPwdReq extends EmployeeEditReq{
    /**
     * 登录密码
     */
    @ApiModelProperty(value = "登录密码" )
    @NotBlank(message = "登录密码不能为空")
    @Length(min = 4, max = 20, message = "密码长度为4-20位")
    private String loginPwd;

    /**
     * 确认密码
     */
    @ApiModelProperty(value = "确认密码" )
    @NotBlank(message = "确认密码不能为空")
    private String loginPwdConfirm;
}
